package com.test.manager;

import java.util.List;

import com.test.common.Page;
import com.test.common.Query;
import com.test.entity.SysRole;

/**
 * 系统角色
 *
 * @author luotuo

 */
public interface SysRoleManager {

	List<SysRole> listRole(Page<SysRole> page, Query search);
	
	int saveRole(SysRole role);
	
	SysRole getRoleById(Long id);
	
	int updateRole(SysRole role);
	
	int batchRemove(Long[] id);
	
	List<SysRole> listRole();
	
	int updateRoleAuthorization(SysRole role);
	
}
